home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
Mandelvroom 2.0.adf
/
help
/
autocontour
next >
Wrap
Text File
|
1989-06-12
|
2KB
|
63 lines
Autocontour Help Information *
The Autocontour commands are used to
set the current picture's contour's
heights in a way that will evenly
distribute them amongst the contours
You are responsible for choosing the
pen patterns, pattern length and pen
colors. Autocontour will choose
heights for your contours. Length
of pattern affects how much detail
is shown in your picture.
To use the Autocontour command, set
a pattern of pens in the contour
palette and pull down one of the two
Autocontour menu sub-items.
Detailed explanation of Autocontour:
When you pull down the Autocontour
menu sub-item, MandelVroom performs
the following steps:
1. Count the number of contours in
contour palette. To do this, the
program starts with the righmost
contour and looks for the first
contour with a pen number not
equal to 1.
2. Calculate the number of pixels in
your picture minus the number of
pixels that have an altitude
equal to the MaxIteration for
your picture.
3. Divide the number of pixels from
step 2 by the number of contours
in step 1.
4. Calculate a histogram of the
number of pixels at each of the
possible heights.
The number calculated in step 3 is
the average number of pixels per
contour. Using the histogram data,
the program allocates heights to
contours from tallest to shortest.
There are two flavors of AutoContour.
The above description describes the
first of the two flavors. The
second differs from the first, in
that, once a given contour's height
range is equal to one, all the
subsequent contour height ranges are
set to one.